//
//  EventItem.h
//  ProcessTimeBudget
//
//  Created by isempty.chiu on 2010/9/13.
//  Copyright 2010 LifeMotion. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface EventItem : NSObject {
	NSMutableArray *processRecords_;
	
	NSInteger eventDuration_;
	float eventBudget_;
	NSString* eventName_;
	
	NSMutableArray *processList_;
}

@property (nonatomic, assign) float Budget;
@property (nonatomic, readonly) NSInteger Duration;
@property (nonatomic, assign) NSString* Name;
@property (readonly) NSMutableArray* ProcessItemList;
@property (readonly) NSMutableArray* RecordItemList;

- (void) reset;
-(void)timerNotify;
-(void)activeChangedNotify;

@end
